<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
    <head>
        <script src="js/jquery.js"></script>
        <script src="socket.io/socket.io.js"></script>
        <script src="js/login.js"></script>
        <title>Rasende Roboter</title>
    </head>
    
    <body onload="io.connect()">
  
    <form method="post" action="/" id="nouvellePartie">
        <input type="hidden" name="login" id="login"/>
        <input type="hidden" value="" name="idGame" id="idGame"/>
    </form>
        
    <script type="text/javascript"> 
    var login = document.getElementById("login");
    var idGame = document.getElementById("idGame");
    var frm = document.getElementById("nouvellePartie");
           
    $.urlParam = function(name)
            {
            var results = new RegExp('[\\?&amp;]' + name + '=([^&amp;#]*)').exec(window.location.href);
            return results[1] || 0;
            }
    login.value = $.urlParam('login');
    idGame.value = $.urlParam('idGame');
    
    frm.submit();
    
    </script>
     </body>
</html>

